package com.g2.admin.model.po;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户角色表
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "auth_role_user")
public class AuthRoleUserPo implements Serializable {
	private static final long serialVersionUID = -577187905865578700L;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	@ApiModelProperty(value = "创建者ID")
	private Long creator;
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;
	@ApiModelProperty(value = "角色编码")
	private String roleCode;
	@ApiModelProperty(value = "角色名称")
	private String roleName;
	@ApiModelProperty(value = "最后一次更新时间")
	private Date updateTime;
	@ApiModelProperty(value = "更新人")
	private Long updater;
	@ApiModelProperty(value = "用户ID")
	private Long userId;
	@ApiModelProperty(value = "用户名")
	private String username;
	@ApiModelProperty(value = "所属系统编码")
	private String systemCode;
	@ApiModelProperty(value = "所属系统名称")
	private String systemName;
}